package com.jingdianjichi.auth.convert;

import com.jingdianjichi.auth.bo.AuthPermissionBO;
import com.jingdianjichi.auth.entity.AuthPermission;
import com.jingdianjichi.auth.entity.AuthRolePermission;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 权限角色关联转换器
 */
@Mapper
public interface AuthRolePermissionBOConverter {

    AuthRolePermissionBOConverter INSTANCE = Mappers.getMapper(AuthRolePermissionBOConverter.class);

    AuthRolePermission converterBOToEntity(AuthPermissionBO authPermissionBO);

}
